abstract:Ali Qapu (also spelled Āli Qapu or Aali Qapu) usually refers to the name for the palaces of Safavid kings. When Iranians were defeated by Ottoman forces, they were forced to move their capital from Tabriz to Qazvin, and then to Isfahn, to avoid occupation of the capital city.